{block name=report-classes}
<div class="row">
  <div class="col-sm-12">
    <a href="javascript:void(0);" onClick="exportPageToCSV($(this),$('#print-paymentsreceived'),'paymentsreceived.csv');" class="btn btn-info report-green"><span>Export CSV</span></a>
  </div>
</div>
<div class="row form">
  <div class="col-sm-12">
    <a href="javascript:void(0);" onClick="printArea('print-paymentsreceived');" class="btn btn-info report-green"><span>Print</span></a>
  </div>
</div>
<div id="print-paymentsreceived">
	<div class="row term">
	  <div class="col-sm-12">
	    <h2 class="title">Payments Received by Type</h2>
	  </div>
	  <div class="col-sm-12">
	    <table class="table table-striped lblue">
	      <thead>
	        <th>Type</th>
	        <th>Total</th>
	      </thead>
	      <tbody>
	        {foreach $paymenttypes as $type}
	          <tr>
	            <td>{$type.payment_status}</td>
	            <td>${$type.total}</td>
	          </tr>
	        {/foreach}
	      </tbody>
	    </table>
	  </div>
	</div>
</div>
{/block} 


